package com.hanhai.zrb.model.project;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.apache.solr.client.solrj.beans.Field;

import com.alibaba.fastjson.annotation.JSONField;
import com.hanhai.zrb.model.photo.Photo;

public class Project {
    protected Long id;

    protected String projectName;

    protected Integer industryId;
    
    protected String industryStr;
    
	protected String industryColor;

    protected String provincePostcode;

    protected String province;

    protected String cityPostcode;

    protected String city;

    @Field
	@JSONField (format="yyyy-MM-dd HH:mm:ss")
    protected Date insertTime;

    @Field
	@JSONField (format="yyyy-MM-dd HH:mm:ss")
    protected Date updateTime;

    protected String pic;

    protected BigDecimal total;

    protected Short projectStatus;
    
    protected String projectStatusStr;

    protected Long userId;

    protected String userName;

    @Field
	@JSONField (format="yyyy-MM-dd HH:mm:ss")
    protected Date pushtime;

    protected Integer mode;
    
    protected String modeStr;

    protected Integer auth;
    
    protected String authStr;

    protected Long intentionId;
    
    protected String intentionStr;

    protected Integer source;

    protected String projectNo;

    protected String pusher;
    
    protected String pusherName;

    protected String phone;
    
    protected String pushtimeStr;
    
    protected String insertTimeStr;
    
    protected String qryStartDate;
    
    protected String qryEndDate;
    
    protected String qryKeyWord;
    
    private long attentionCount;
    
    private long commentCount;
    
    private List<Photo> photoList;
    private String photoListJson;
    
    public long getAttentionCount() {
		return attentionCount;
	}

	public void setAttentionCount(long attentionCount) {
		this.attentionCount = attentionCount;
	}

	public long getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(long commentCount) {
		this.commentCount = commentCount;
	}

	public String getPusherName() {
		return pusherName;
	}

	public void setPusherName(String pusherName) {
		this.pusherName = pusherName;
	}

	public String getIndustryStr() {
		return industryStr;
	}

	public void setIndustryStr(String industryStr) {
		this.industryStr = industryStr;
	}

	public String getProjectStatusStr() {
		return projectStatusStr;
	}

	public void setProjectStatusStr(String projectStatusStr) {
		this.projectStatusStr = projectStatusStr;
	}

	public String getModeStr() {
		return modeStr;
	}

	public void setModeStr(String modeStr) {
		this.modeStr = modeStr;
	}

	public String getAuthStr() {
		return authStr;
	}

	public void setAuthStr(String authStr) {
		this.authStr = authStr;
	}

	public String getIntentionStr() {
		return intentionStr;
	}

	public void setIntentionStr(String intentionStr) {
		this.intentionStr = intentionStr;
	}

	public String getQryStartDate() {
		return qryStartDate;
	}

	public void setQryStartDate(String qryStartDate) {
		this.qryStartDate = qryStartDate;
	}

	public String getQryEndDate() {
		return qryEndDate;
	}

	public void setQryEndDate(String qryEndDate) {
		this.qryEndDate = qryEndDate;
	}

	public String getQryKeyWord() {
		return qryKeyWord;
	}

	public void setQryKeyWord(String qryKeyWord) {
		this.qryKeyWord = qryKeyWord;
	}

	public String getPushtimeStr() {
		return pushtimeStr;
	}

	public void setPushtimeStr(String pushtimeStr) {
		this.pushtimeStr = pushtimeStr;
	}

	public String getInsertTimeStr() {
		return insertTimeStr;
	}

	public void setInsertTimeStr(String insertTimeStr) {
		this.insertTimeStr = insertTimeStr;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName == null ? null : projectName.trim();
    }

    public Integer getIndustryId() {
        return industryId;
    }

    public void setIndustryId(Integer industryId) {
        this.industryId = industryId;
    }

    public String getProvincePostcode() {
        return provincePostcode;
    }

    public void setProvincePostcode(String provincePostcode) {
        this.provincePostcode = provincePostcode == null ? null : provincePostcode.trim();
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCityPostcode() {
        return cityPostcode;
    }

    public void setCityPostcode(String cityPostcode) {
        this.cityPostcode = cityPostcode == null ? null : cityPostcode.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public Short getProjectStatus() {
        return projectStatus;
    }

    public void setProjectStatus(Short projectStatus) {
        this.projectStatus = projectStatus;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Date getPushtime() {
        return pushtime;
    }

    public void setPushtime(Date pushtime) {
        this.pushtime = pushtime;
    }

    public Integer getMode() {
        return mode;
    }

    public void setMode(Integer mode) {
        this.mode = mode;
    }

    public Integer getAuth() {
        return auth;
    }

    public void setAuth(Integer auth) {
        this.auth = auth;
    }

    public Long getIntentionId() {
        return intentionId;
    }

    public void setIntentionId(Long intentionId) {
        this.intentionId = intentionId;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public String getProjectNo() {
        return projectNo;
    }

    public void setProjectNo(String projectNo) {
        this.projectNo = projectNo == null ? null : projectNo.trim();
    }

    public String getPusher() {
        return pusher;
    }

    public void setPusher(String pusher) {
        this.pusher = pusher == null ? null : pusher.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }
    
    public String getIndustryColor() {
		return industryColor;
	}

	public void setIndustryColor(String industryColor) {
		this.industryColor = industryColor;
	}

	
	public List<Photo> getPhotoList() {
		return photoList;
	}

	public void setPhotoList(List<Photo> photoList) {
		this.photoList = photoList;
	}

	public String getPhotoListJson() {
		return photoListJson;
	}

	public void setPhotoListJson(String photoListJson) {
		this.photoListJson = photoListJson;
	}

	@Override
	public String toString() {
		return "Project [id=" + id + ", projectName=" + projectName
				+ "]";
	}
	
}